//
//  GHY_DynamicStickersCell.m
//  Camera
//
//  Created by aaaaaa on 16/8/22.
//  Copyright © 2016年 葛海一. All rights reserved.
//

#import "GHY_DynamicStickersCell.h"

@interface GHY_DynamicStickersCell ()




@end

@implementation GHY_DynamicStickersCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.imageView = [[UIImageView alloc] initWithFrame:self.contentView.bounds];
        [self.contentView addSubview:_imageView];
    }
    return self;
}

- (void)setImageArr:(NSArray<UIImage *> *)imageArr {
    _imageArr = imageArr;
//    self.imageView.animationImages = imageArr;
//    self.imageView.animationDuration = 0.15 * imageArr.count;
//    self.imageView.animationRepeatCount = 0;
//    [self.imageView startAnimating];
    self.imageView.image = _imageArr[0];
}




@end
